package com.treeroot.designMode.Strategy.useFactory;

import com.treeroot.designMode.Strategy.DiscountStrategy;
import com.treeroot.designMode.Strategy.EightDiscountStrategy;

/**
 * 具体的工厂类~实现策略接口
 * @author treeroot
 *
 */
public class EightDiscountFactory implements DiscountFactory{
    @Override
    public DiscountStrategy createDiscountStrategy() {
        return new EightDiscountStrategy();
    }
}
